# coding=utf-8
import json

class StringConvert(dict):
    @classmethod
    
    # 字符串转json
    def convertStrToJson(cls,str):
        
        result = json.loads(str)
            # print(contentDict)
        return result
    # 判断CSV是否存在某个key
    def isCsvHasKey(cls,dict,key):
        result = False
        if dict.has_key(key):
            result = True
        return result


if __name__ == "__main__":
    
    print("start")
    # CatchTestItmeDetailWithInfo.getDetailContent(dict)

